<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.AdvancedSearchCriteria" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.AdvancedSearchCriteria" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" />
  <xs:complexType name="AdvancedSearchCriteriaItem">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" base="q1:ReturnObject">
        <xs:sequence>
          <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="CriteriaValue" nillable="true" type="q2:ArrayOfstring" />
          <xs:element minOccurs="0" name="IndexIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="Operator" type="tns:SqlEqualityOperator" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AdvancedSearchCriteriaItem" nillable="true" type="tns:AdvancedSearchCriteriaItem" />
  <xs:simpleType name="SqlEqualityOperator">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Equal" />
      <xs:enumeration value="Different" />
      <xs:enumeration value="Between" />
      <xs:enumeration value="Superior" />
      <xs:enumeration value="SuperiorOrEqual" />
      <xs:enumeration value="Inferior" />
      <xs:enumeration value="InferiorOrEqual" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="SqlEqualityOperator" nillable="true" type="tns:SqlEqualityOperator" />
</xs:schema>